/* css reset */
*{box-sizing: border-box;}
*::before,*::after{box-sizing: border-box;}
*{margin: 0;padding: 0;}
ul,ol{list-style: none;}
a{color: inherit;text-decoration:none;}
img{max-width: 100%;max-height: 100%;}

/* style */
body{background-color:white}

.globalHeader{
    margin: 20px;
}
@media(min-width:500px){
    .globalHeader{
        margin: 50px;
    }
}
.searchForm{
    display: flex;
    justify-content: space-between;
    /* border: 1px solid red;  */
    margin-top: 20px;
}
@media (min-width:500px){
    .searchForm{
        max-width: 400px;
        margin-left:auto;
        margin-right:auto;
        margin-top: 250px;
    }
}
.searchForm > input{
    width: 100%;
    margin-right: 10px;
    margin-top:10px;
    height: 40px;
    padding: 0 10px;
    border: 2px solid black;
    border-radius: 30px;
}
.searchForm > button{
    white-space: nowrap;
    padding: 0 20px;
    margin-top: 10px;
    border: none;
    border: 2px solid black;
    border-radius: 20px;
    background: white;
    color: black;
    font-size: 16px;
    cursor: pointer;
}
.globalMain{
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
}
.siteList{
    margin: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
@media(min-width:500px){
    .siteList{
        margin-left: 0;
        margin-right:-25px;
        justify-content: flex-start;
    }
}
.siteList > li{
    margin-bottom: 10px;
}
@media(min-width:500px){
    .siteList > li{
        margin-right: 25px;
    }
}
.siteList .site{
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: whitesmoke;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 20px 0;
    position: relative;
    cursor: pointer;
}
.siteList .site > .logo{
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 64px;
    text-transform: uppercase;
}
.siteList .site > .link{
    font-size: 14px;
    margin-top: 4px;
}
.siteList .site > .close{
    position: absolute;
    right:10px;
    top: 5px;
}
@media(min-width:500px){
    .siteList .site > .close{
        display: none; 
    }
    .siteList .site:hover > .close{
        display: block;
    }
}
.siteList .addButton{
    background: whitesmoke;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
}
.siteList .addButton .icon{
    width: 56px;
    height: 56px;
}
.siteList .addButton .text{
    font-size: 14px;
    margin-top: 4px;
    white-space: nowrap;
}
.siteList .addButton .icon-wrapper{
   width: 64px;
   height: 64px;
   display: flex;
   justify-content: center;
   align-items: center; 
}